package com.deman.framework.config;

import com.deman.framework.rpc.config.DemanRpcProviderConfig;
import com.deman.framework.rpc.config.RpcSystemConfig;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class DemoConfig {

    @Bean
    public DemanRpcProviderConfig getDemanRpcProviderConfig() {
        return new DemanRpcProviderConfig("127.0.0.1", RpcSystemConfig.SERVICE_PORT);
    }

}
